package com.md.mainpage.interfaces

import com.md.basedpc.base.IBaseView
import com.md.basedpc.base.IPresenter
import com.md.network.api.SearchResult

interface SearchContract {
    interface View : IBaseView{
        fun showResult(keyWord:String,result:SearchResult?)
        fun showError(errorMsg: String)
    }

    interface Presenter : IPresenter<View>{
        fun search(page:Int, size:Int, keyWord:String)
    }
}